package tote.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 */
@Entity
public class Participant implements Serializable {
    private static final long serialVersionUID = -1196713300640157363L;

    @Column(name = "username")
    private String username;

    @Column(name = "fullname")
    private String fullname;

    @Column(name = "placeForGroups")
    private Integer placeForGroups;

    @Column(name = "pointsForGroups")
    private Integer pointsForGroups;

    @Column(name = "placeForWinners")
    private Integer placeForWinners;

    @Column(name = "pointsForWinners")
    private Integer pointsForWinners;

    public void setUsername(String username) {
	this.username = username;
    }

    @Id
    public String getUsername() {
	return username;
    }

    public void setFullname(String fullname) {
	this.fullname = fullname;
    }

    public String getFullname() {
	return fullname;
    }

    public Integer getPlaceForGroups() {
	return placeForGroups;
    }

    public void setPlaceForGroups(Integer placeForGroups) {
	this.placeForGroups = placeForGroups;
    }

    public Integer getPointsForGroups() {
	return pointsForGroups;
    }

    public void setPointsForGroups(Integer pointsForGroups) {
	this.pointsForGroups = pointsForGroups;
    }

    public Integer getPlaceForWinners() {
	return placeForWinners;
    }

    public void setPlaceForWinners(Integer placeForWinners) {
	this.placeForWinners = placeForWinners;
    }

    public Integer getPointsForWinners() {
	return pointsForWinners;
    }

    public void setPointsForWinners(Integer pointsForWinners) {
	this.pointsForWinners = pointsForWinners;
    }
}
